.toast {
    position: fixed;
    left: 50%;
    top: 10%;
    width: auto;
    text-align: center;
    transform: translate3d(-50%, 0, 0);

    .toast-content {
        display: inline-block;
        padding: 0 24px;
        height: 48px;
        line-height: 48px;
        border-radius: 4px;

        font-size: 15px;
        font-weight: 300;
        background: #555;
    }

    animation: TOAST-APPEAR 3s ease-in;

    &.toast-info {
        color: #64C23B;
    }

    &.toast-warning {
        color: #ff0000;
    }

    &.toast-error {
        color: #ff0000;
    }
}

@keyframes TOAST-APPEAR {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    85% {
        opacity: 1;
        top: 10%;
    }
    100% {
        opacity: 0;
        top: -2%;
    }
}